Added logging through server. Worker cleanup