Removed unnecessary variable from hang issue fix.