finish starting program as a background daemon.