Implemented mongo session copy/close