Removed the main method (test main) from streamD