Added additional imageio libraries
Added retry for connection errors
Extra debugging output