Fixed sync method to return without exception on success.