fix mongo spec, add timeout setting