Added receive and timeout threads to ClientConnection.