Changed sleep after server start from 3 to 4 seconds to avoid unncessary server restarts.