run all with async, and check in a thread if monitor is canceled , cancel the connection
there are many cases when connection block ui (slow connection, over vpn, if server is not available, etc.) user should always have the possibility to stop/cancel connection, for any call
api is good but it's synchronous, in real live we need a progress monitor, and cancel button, look at http://code.jaspersoft.com/svn/repos/jaspersoftstudio/trunk/com.jaspersoft.studio.server/src/com/jaspersoft/studio/server/protocol/restv2/JSSApacheConnector.java
run all with async, and check in a thread if monitor is canceled , cancel the connection there are many cases when connection block ui (slow connection, over vpn, if server is not available, etc.) user should always have the possibility to stop/cancel connection, for any call