Exceptions in LongPolling thread