There is no special function to remove FD from watch. When I closed stream added to be watch, my script hanged.
<?php newt_form_watch_fd($form, $old_fd, 0); ?> seems to be solution of this issue.
(PECL newt >= 0.1)
void newt_form_watch_fd ( resource $form , resource $stream [, int $flags ] )
This function is currently not documented; only its argument list is available.
No value is returned.
add a note User Contributed Notes newt_form_watch_fd - [1 notes]