Fixed problem with RMI, if backend was offline then the frontend failed to init stub and so failed to init context