Added stopFactory in order to stop open process at control+c