Move timeout check to sandbox namespace