Close first pass handler before initializing second pass