fix hikari close wrapper call to cast properly