Wrap load_class in a try { } block.

This fixes the case where a module was loaded then attempted to
be loaded but with a failure. Previously it wouldn't refresh
itself anymore.