Note Python connect not threadsafe. Fixes #304