Longer timeout for UPnP
Fixed possible segfault when forwarding connection