Removed assert statement when no connect callback
Changed order of turning connect callback to nil