implement stop sequence: 'quit', SIGTERM, SIGKILL