1. I am not sure what you mean. Do you want to know how to make an aux script close the connection? Does this example help?:
Code:
program auxControl( connection )
print( "Aux control: Connection established." );
while ( connection )
// Do stuff
connection := 0;
endwhile
print( "Aux control: Connection closed." );
endprogram
2. I do not see how a script could NOT handle many connections. Could you perhaps show some of your code?