Add possibility to wait with no timeout 

if negative value is set, than wait might never end