Let user send tasks in multiple times
Test for multiple task send
Factorize code