catch potential bug, set evalstr-fn to nil when not connected to process