wait for safemod in docker start script