This dirty last ditch modification to the kernel will force close connections after so many seconds. The default is 60.
echo 30 > /proc/sys/net/ipv4/tcp_fin_timeout
This will tell everyone that you have 30 seconds to finish or else I will drop your connection. This is good in a pinch, but do not recommend running this at all times.