can shutdown in a session, records in log.txt