Fixed write hardware timeout monitoring. Timeout is now dynamically
calculated based on current hardware configuration. There is room
for optimization via caching.