reader thread loop made as static function-member