Fix for Gulp hanging in some environments