cleanup if the script exits unexpectedly