Fix the create topics script to avoid exiting