     worker = cluster.fork()
 
     worker.on 'message', (msg) ->
-
-      if msg.uptime
-        # send response back to worker requesting uptime
-        worker.send
-          masterUptime: process.uptime()
 
       logger.debug "Message recieved from worker #{worker.id}", msg
       if msg.type is 'restart-all'

    else
      # send request to master
      process.send
        uptime: true

      # listen for response from master
      process.once 'message', (uptime) ->
        uptime =
          master: uptime.masterUptime

        # send reponse back to API request
        callback null, uptime
        for id, worker of cluster.workers
          logger.debug "Stopping TCP channel on worker #{worker.id}..."
          worker.send msg
      else if msg.type is 'get-uptime'
        # send response back to worker requesting uptime
        worker.send
          type: 'get-uptime'
          masterUptime: process.uptime()

  # start all workers
  for i in [1..clusterSize]
