Propagate errors through futures when opening connection to the database

Without this propagation the VM crashes if MongoDB is down.