Can MT4 be closed/restarted through Expert?

 
Despite the hopefull promises in the Build 183 announcement I got last night "trade context busy" over extended phases (hours).

This is not the "parallel SetOrder()" attempts since I avoid these with global variables, but really a hanger.

When I am present I can fix these in no time with a restart of the application.

I would like to automize, so that my system tries for example IsTradingAllowed for like 60 seconds and then restarts MT4. Any ideas?