# File lib/daemon_controller.rb, line 277
        def stop
                @lock_file.exclusive_lock do
                        begin
                                Timeout.timeout(@stop_timeout, Timeout::Error) do
                                        kill_daemon
                                        wait_until do
                                                !daemon_is_running?
                                        end
                                end
                        rescue Timeout::Error
                                raise StopTimeout, "Daemon '#{@identifier}' did not exit in time"
                        end
                end
        end