Revert "Add client.quit() function"

This reverts commit d2be65469dc5e47fe925b5ca2feced17a8a8f55f.