Fix connect-assets performance issues

Signed-off-by: Ian Macalinao <ianmacalinao@gmail.com>