Removing quitting callback which is registered on boot