requirejs stops loading any modules after timeout error

The problem is that if there was a timeout error on some script, no modules will ever load until page refresh. This strange behaviour occurs, because the ```inCheckLoaded variable``` is not set to false in case of error.