continue reading when read was interrupted by a signal