try to add catch socket.timeout