send termination message to correct fd and test for it on read