do not push undefined connections back into the pool
Merge pull request #85 from achicu/failed-connection

Do not push undefined connections back into the pool