Close all activities currently running the program