Shutdown timer

Add a SHUTDOWN_TIMER constant that will automatically shutdown the instances after a set number of minutes.