isServerOffline

isServerOffline -> state to manage the server offline scenario