[PATCH 3/3] server: Set the connection time if connect() returns 0.