fix bug when mongodb can't connect
Merge remote-tracking branch 'origin/todo_batch' into todo

Conflicts:
	lite_mms/database.py