Add online only forward and a corresponding API method to avoid race conditions

Hm, I heard somewhere that using boolean method args for stuff like this is generally discouraged, but I'll add it anyway.