Added Batch sync mode to the commit log
Fix the problem of rejected Runnable during shutdown
Make the batch mode safe by sending the response only after the write to
the commit log