Attempt at fixing the race condition. Test registrar on different ports.