add check in getResourceFrom - @eluleci
Not exiting if a problem happened in makeGetCall
minor fix
add mutexes for concurrent access to result-map and cache