reducing memory usage

Reducing memory usage by unsetting $tmp_user_agents