increasing thread to 5 and delet loop among mutex lock and mutex unlock for testing bug