- Moved more of the 'connection client' onConnection logic into the async task in order to improve performance.