destroy socket on timeout