Simplify loop in lwan_thread_shutdown()

Since pthread_tryjoin_np() is used, there's no need to have two loops
to shutdown the threads.