I don't understand this. Why first try to remote_load and on failure remote_create_inmemory?
Can we add a comment here?