Fixed a problem when returning from try statement did not remove the endTryStatement command