       @_recover()
     else
       console.log "Hmm, the doctor couldn't find anything amiss..." if @_verbose
-  
+
   # Recover from a stuck process.
   _recover: ->
     if @doc.recoverable()


  # Subscribe to the `requests` and `responses` channels.
  listen: ->
    @_requests_channel.listen (source, keys) =>
      @_requested source, keys
    @_responses_channel.listen (ch, str) => @_responded str

  # Send quit signals to the work queues.

    setTimeout finish, 500

  # Provide a callback to be called when the dispatcher detects the process is stuck
  on_stuck: (@_stuck_callback) -> this

  # Set the idle handler
  on_idle: (@_idle_handler) -> this
