bugfix in NEP

closing a tasklet that had a socket open killed NEP thread