Fix issue #2263

This attempts to fix issue #2263

Add method IsLeaving to SpaceStation so we can check if we're in the process of undocking.

Only add applicable communication options if we're not in the process of undocking.

Thanks to @radius75 as the solution is very similar to the one he suggested with just an additional check for undocking.