Skip error handling in case of G_IO_NVAL, because the channel is invalid