implement timeout to ruby depsolver