Application no longer exits if API is offline