improve mongo connection parameters