This is Station workers signaling to the driver that everything's clear to go. It looks like he's smoking a pipe but that's actually a radio.