removed the unnecessary async/await keyword usages and added added ConfigureAwait(false)

Removed the unnecessary `async`, `await` keyword usages. Also, added `ConfigureAwait(false)` at the appropriate places to avoid unnecessary context switches and potential deadlock issues.