Remove call the join from end of main in test program