Close method for sequence pool connections

Bug fix to clean up sequence pool connections properly.