Added image server exception handling