Update Url.php

Do not forget close connection after redirect.