release connection on connect timeout and error