Added timeout check for RosdocHeader macro