Dosfusion is now able to correctly exit