Added safety checks for a destroyed Client instance's methods

Closes #507