Temporarily auto-close the connection after 10 seconds