Shutdown script for cob3