return correct halt value to stream resource