Support running in the background.