Fix: main process stuck if subprocess killed
Fix: main process stuck if subprocess killed

Fix for one of the two issues reported here:
https://github.com/adobdin/timmy/issues/64

Change-Id: I2fb45320783f93a558dda1fb33b9f2d2adbe9656

adobdin/timmy,adobdin/timmy