Fix wait time. Use milliseconds instead of seconds.

On the twisted_main.quit() we use 1/10 of a second since is enough wait.