doesnt close after running process