Bind outside of the try block

If binding fails, we don't want to unbind
since there will be nothing bound, so do
the binding outside of the try/except
block to do this in the correct order.

Change-Id: Iebd3ea7a04265264043c47d4e943778538e8a153
Merge "Bind outside of the try block"