BS: Using the task port instead of the application port. Regression bugfix