I ended up using a java thread which polled the dashboard server to monitor the running state of the program , with help from the implementation of the dashboard server from the sample in this this topic
1 Like