Make rest startup async