You should connect to port 1111 with user and password (Admin from your server, or Vhost) and use reloadApp(intanceName), not a good idea
By default unload occurs 20 minutes after the last user leaves, as showed in Vhost.xml:
<!-- GC interval for application instances resources in minutes : SharedObjects, Streams and Script engine. -->
<AppInstanceGC>20</AppInstanceGC>
Change the value there. Or you can specify for the entire server, or just n app. Consult Administration server pdf.
Jorge