Shutdown and Reconnect with AFL / batch processing

hi! I have read all the forum entries for automatic shutdown and reconnect of the data plugin, but couldn't find a matching answer. After Amibroker introduced batch processing, I tried the following:

  1. data-plugin status: connected
  2. run batch 1 with an AFL to update my database only
  3. data-plugin status: (manually) shut down
  4. run batch 2 with all AFLs in it to scan the market

I know it's just a small thing in step 3), but it would help in the daily work though...
Is there a way to implement the manual shutdown/reconnect process into a batch?