To shutdown the NIRC2 software and put NIRC2 in safe mode at the end of the night: