This prevents dead lock if read-end does not detect data before blocking why write-end already notified.