fix bug in synchronous response handling

this patch fixed a bug that allowed 'EXITED' messages to pass
synchronous response messages