Adding synchronization mechanisms to allow for connection reuse