Fixed endless block on stderr