Fixed issue with launch loop failing to exit.