Guarantee swift process are ended after base run

Use stop swift from lib

Change-Id: I683da7c78fdd7881708e45a3579a7ee7a9a4a4e9
Fixes: Bug 1183111