workers exit when process 1 exits. uv_isopen check only for printing the
error message. fixes #3707