apiConnect does not respect timeouts
createConnectionTo calls findRemoteEndpoint and findRemoteEndpoint may block indefinitely waiting for network operations to complete.
This call should happen under a timeout call so connect terminates when it blocks for too long.
Actually, only the Network.Socket.connect call happens under a timeout call. An almost immediately following recvInt32 call can block indefinitely too.
How do we decide on the policy that governs the timeout duration?