Fix Unhandled Exception

When the session server times out, there is nothing catching this
problem, which ends up crashing the program. I added a message.