Should close class loader

Fixed possible leak by ensuring that the URLClassLoader is closed when
no longer needed.

Issue #9