If Jolipca is down (see #294) the function eventually returns a NULL. Unfortunately, this caches a 'NULL' as the function output, rerunning the function (for example to see if Jolpica is back up and running) returns the cache value.
We should try avoid caching error returns.