Try to better tune the socket timeout for each connection.
Give more time for the status connection before closing the socket seems to improve reactivity.