Plugin/Ping.pm: fix timeout, check for empty msg