If your engine runs a pump used during delivery of compressed gas, you should turn off the engine:

Unless your engine runs a pump for product transfer, turn it off when loading or unloading a compressed gas tank. If you do use your engine to run a pump, you should turn the engine off after the product transfer but before unhooking the hoses.
DMV Writen Test Logo