Add support for pausing the client