class Puma::Server

def halt(sync=false)

def halt(sync=false)
  notify_safely(HALT_COMMAND)
  @thread.join if @thread && sync
end