add timer check for connection status

release the connections when timeout