Automatically close the mod manager if there is an error while updating
or downloading libraries.