An issue where thread was not exiting on calling thread.exit() has been fixed