Handling background tasks version 1

move the curly brackets on the same line to keep it compact and consistent