added ping before trying to commit locally stored entries