interrupt corner case - fix hang due to reconnect
Use hard limit of block size
Merge loops in CommunicateTxCurve

Save some time in bigger sized blocks. Tested on both hard and soft
limit of blockmaxsize. Also use hard limit of blockmaxsize to mine
blocks.