Return client

This allows manipulating the client from outside. Allowing, for example, to close a connection.