Argha : checking for memory for forced GC + SLEEP after every attempt to send a batch of messages.