add license to pom, add guard threads