Due to a bug in Windows Teams, the operating system on Surface Hub, Miracast is unable to start again after using AirServer because the OS does not take back control over the Wi-Fi adapter automatically.
The workaround for this problem is to manually start up the Connect app on your Surface Hub after using AirServer.