changed the code to use pool for the executing context objects in some cases