add missing msg queue processing step to service, fixed Context lifecycle bug