Adding more logging to establish the cause of stall/error