perform block on main thread

Signed-off-by: Felix Dumit <felix.dumit@gmail.com>