change IpcService to run on seperated thread