Turns the machine off when there are no logged users.