Simple utility which waits until mongodb to come online