Add SocketException catch clause

Server should continue working if it close current socket, server
for next requests.