add event handler for timeout for connections that don't connect within the timeout