Removed exit(-1) from Share-Class