Similiar to sync.Cond but with SetDeadline similiar to net.Conn