Update port_monitor.rb

trivial reordering