Sleep before using mongo