misbehaving knitr connections