Fix race condition between exec
Merge pull request #5 from arnaud-elasticbox/logs

Fix race condition between exec