Keyboard Interrupt lunches test but wandblogger kills the process
🐛 Bug
I am using WandBLogger and when I have a run that I want to stop manually with a keyboard interrupt, the model correctly stops training and starts executing the Test function. The problem is that at the same time WandBLogger starts uploading the data and when it is done it kills the process, therefore the test function is not finished and that data is not uploaded to the logger ofc.
To Reproduce
Steps to reproduce the behavior:

Execute a run with wandblogger that has (trainer.fit(model); trainer.test())
Ctrl + C

Expected behavior
Execute train -> Ctrl+C -> stop the training -> lunch the test -> upload everything to the logger