Now quits automatically on end