Key press stops server.