implemented interrupt system for the storage system. allows for save shutdown on termination.