Updated the creation of message from String.format to StringBuilder in order to improve performance.
Updated the submit of task without creating a new runnable each time.
Updated the client in order to allow the test to run successfully.