Handle the IOExepction that is caused when my server is offline