Added ready() and stopSending() to the client