Reduced delay on closing app