SECTION 37. The proper officer may, at any time, board any conveyance carrying imported goods or export goods and may remain on such conveyance for such period, as he considers necessary.