just in case, exit callback before app exists