Fix output of packets information and give a much longer time out on a
connection (5 minutes instead of 30 seconds).