Make it possible to make a SocketClient blocking