Sleeping process before resizing, otherwise resize gets lost into the
children process
Merge pull request #126 from javier-gs/jgs-resize-sleep

Sleeping process before resizing, otherwise resize gets lost into the children process