Something that might also be related or require a new thread is that I set up a discovery session with a Task Session expiration of 5 minutes. Two and a half hours later it is still running.