   client.auth options.password if options.password?
   new Fairy client
 
-# ### Exception Handling
+# ### Exception & Interruption Handling
 #
 # Use `uncaughtException` and `SIGINT` to provide elegant exception and user
 # interruption handling.

  console.log 'Fairy will block all processing groups before exit.'
  enter_cleanup_mode()

# Say goodbye.
process.on 'exit', ->
  console.log "Fairy cleaned up, exiting..."


# task.
exiting = off

# Keep current process's all registered workers an array, rely on this array to
# count cleaned workers on exiting.
registered_workers = []

