Added listen thread