Provide a helper method to wait for the connection to close.
Readme and license information.