JRuby doesn't support Process::WNOHANG

Use timeout stdlib instead