583 call compact callback when done

This PR once again with hopefully fixed problems:
Better now:
    1. starting pinging _after_ the compaction started
    2. try again _only_ if we got answer

See: #615