use lockingpool for agent registering
welcome worker (not working much right now)
various test improvements