Do not attempt to release undefined connections from pool, #414