Fixes #8, problem with mongodb-related failing after restart.