Only clear the loader once loadFromFile is complete
Merge pull request #58 from strongloop/fix/loader

Only clear the loader once loadFromFile is complete