Further fixes to the lobe code to battle connectivity issues