Add time limitation to execute Maven.