resolve error during module import.

See http://stackoverflow.com/questions/16031985/why-cant-control-leave-a-finally-statement
Merge pull request #1 from slestak/master

resolve error during module import.