fixing issue where tunnel connection errors arent properly connected to callback