enforce server long running

[every time that server receives a close connection it force the interruption of the running thread that received the notification]