Fix for stuck blockchain at blocks 21000, 21500 and 22000.

The fix is to issue getblocks() command on our own from time to time. This way client gets more inv() reposonses from partners and is able to proceed with blockchain download.