Fixed the problem of sending initial message after topic created first
time ever.

If kafka started first time with clean logs, first message sent to the
topic fails after 3 retries. Increased the number of retries from
default 3 to 7 times. Also increased wait between retries from 100 to
1000 ms.
Calculation of proceeds fixed for short sales.