Former undisputed world champion Josh Taylor says he will take some time to consider if he wants to continue boxing after his shock defeat by Ekow Essuman.