Added logging to diagnose connection leasing problem
Merge branch 'beta3' of github.com:bedatadriven/activityinfo into beta3