added a new waitq for write for poll to monitor.