add sleep to start daemon last