adds mongo connection open event