added timeout demo to mongodb example