Add closed? method to kafka client

To allow Worker#exit_cleanly method to be called, so that the worker can be gracefully killed.

#22