Implement connection retry.
Restore parsing of color depth