Modifying socketpool to check if the socket lives