Fix some issues and javadocs with shutdown ports