Introduce a function to wait for a Reply instead of doing it in read