Lets move the try to only wrap the connection.getFMDebugger**() methods.  No need to wrap the try if(connection != null)