change local run method with time out