waiting for the process to finish (just a test)