Minimize work done on loop thread