Asynchronous socket management