Allow waiting for read and write simultaneously