Change the way the timeout parameter passed, as it reacts strangely on some Linux distros