checking for receive timeouts