Fix _save_checkpoint
for online methods
#2288
Merged
_save_checkpoint
for online methods
#2288