Bug 967782 - [mozprocess] kill() should wait for the managed process to be stopped. r=jgriffin