Stop application server.

def stop(context):
    """Stop application server.
    """
    config = context.obj["config"]
    pidfile = select(config, "application.pidfile", DEFAULT_PIDFILE)
    daemon_stop(pidfile)