Workaround for mongo failures on Travis CI.

See https://github.com/travis-ci/travis-ci/issues/1967#issuecomment-41929930