Made a wrapper function for fetch called myFetch that can also detect when the internet has been disconnected (and do other stuff later on)