only connenct once to mongo