Changed to use mongo_set_op_timeout rather than going directly to socket function
removed unneded dependency to env.h