Fix for plugin failure after first connection attempt.
Merge pull request #4 from 2fast2fourier/master

Fix for plugin failure after first connection attempt.