calling it a night, made some abstractions in client proc and can send terminate message. lol