Handle timeout in non-blocking send.