Version 1.4: add sleep at startup to avoid race condition