Prevent crash on user leaving.