Off-duty officer has close call with brown snake