fix blocking problem with remote eval mode