close worker

should fix #4