wait for mnesia