Fixes #4645: remove filling of unused variable ALLOWCONNECT