Using global closure pool.
Fixing bug with closures not reseting end status.