Fix wait time. Use milliseconds instead of seconds.

On the twisted_main.quit() we use 1/10 of a second since is enough wait.
Merge remote-tracking branch 'refs/remotes/ivan/bug/fix-delay-usage' into develop