Add poll_open/ wait_open functions