check if mongodb is running

mongodb takes quite some time to start for the first launch

https://bugzilla.novell.com/show_bug.cgi?id=863720