Fix multiple reconnect to tracker in error
Add build.xml for ant building