variable sleep
reply thread
refactoring ipsynch
refactoring