get the service running in the foreground