fix bug of close URLconnection